Example – Instaling License Key String

Request

PUT /api/v1/license HTTP/1.1
Host: 10.4.219.229
Content-Type: application/json
{
   "licenseVersion": 1,
   "serialNumber": "277522263687112", 
   "key": "jCx6r5tovCIKaBBbhPtT53Yj"
}

Response

 HTTP/1.1 200 OK
 or
 HTTP/1.1 409 Conflict
Content-Type: application/json
{
    "description": "License key can’t be applied to device in HA configuration. Use license file instead."
}